package cc.ccoke.design.factory.abs;

import cc.ccoke.design.factory.entity.*;

/**
 * 成年动物工厂类
 */
public class LargeAnimalFactory implements AnimalFactory {
    @Override
    public Animal getDog() {
        return new LargeDog();
    }

    @Override
    public Animal getCat() {
        return new LargeCat();
    }
}
